package com.sms.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

//订单明细
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Orders {
    @TableId(type = IdType.AUTO)
    private int orderID;
    private int quantity;
    private double totalAmount;
    private java.sql.Date orderDate;

    private int productID;
    private int memberID;
    @TableField(exist = false)
    private Products products;
    @TableField(exist = false)
    private Members members;
}